package cn.myfirefly.moming.common.model;

import java.io.Serializable;
import java.util.Date;

import cn.myfirefly.core.model.BaseDto;

import com.fasterxml.jackson.annotation.JsonFormat;



public class UserDto extends BaseDto implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1192316210855983236L;
	private Integer userSn;
	private String userName;
	private String loginName;
	private String password;
	private Character status;
	private Date lastLoginTime;
	private Character changePass;
    
    //lookup pid 逗号分隔的字符串
    private String roleSn;
    //lookup name 逗号分隔的字符串
    private String roleName;
    
	public String getRoleSn() {
		return roleSn;
	}
	public void setRoleSn(String roleSn) {
		this.roleSn = roleSn;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public Integer getUserSn() {
		return userSn;
	}
	public void setUserSn(Integer userSn) {
		this.userSn = userSn;
	}
	public Character getStatus() {
		return status;
	}
	public void setStatus(Character status) {
		this.status = status;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public Character getChangePass() {
		return changePass;
	}
	public void setChangePass(Character changePass) {
		this.changePass = changePass;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
}
